package com.wangyg.flourfactory.dao;

import com.wangyg.flourfactory.model.FlourFactory;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by wangyg6 on 2019/5/15.
 */
public interface FlourFactoryRepository extends JpaRepository<FlourFactory, Integer> {

	FlourFactory findByFactId(Integer factId);

	FlourFactory save(FlourFactory flourFactory);

}
